#ifndef COMPETENCETIROIR_H
#define COMPETENCETIROIR_H

#include "CompetenceClasseBase.h"

class CompetenceTiroir : public CompetenceClasseBase
{
 public:
  CompetenceTiroir( const std::string& nom, const unsigned& prix,
		    const unsigned& cat, const unsigned& adresse,
		    const bool& exclu = false );
  CompetenceTiroir( const std::string& nom, const std::string& alias,
		    const unsigned& prix, const unsigned& cat,
		    const unsigned& adresse, const bool& exclu = false );
  CompetenceTiroir( const CompetenceTiroir& compTiroir );
  ~CompetenceTiroir();
  const ScoreAdditionnel& autreScore() const;
  const unsigned& sousCategorie() const;
  const unsigned& adresseBase() const;
  const bool& sousCategorieDefinie() const;
  const bool& choixExclusif() const;
  CompetenceClasseBase * creerCopie() const;

 protected:
  void afficherInstance( ostream& os ) const;
  void afficherInstance( FlotMessage& flot ) const;

  unsigned SousCategorie;

  unsigned AdresseBase;
  
  bool ChoixExclusif;

  static const ScoreAdditionnel SANormal;
};

#endif // COMPETENCETIROIR_H
